import { request } from "./request.js";
//
export function edit_needs(id,name,price,num) {
  return request({
    method: "put",
    url: `/goods/${id}`,
    data: {
    goods_name:name,
    goods_cat:"2359,2360,2396",
    goods_price:price,
    goods_number:num,
    goods_weight:0,
    goods_introduce:'',
    pics:[],
    attrs:[{attr_id:4480,attr_value:""},{attr_id:4480,attr_value:""},{attr_id:4480,attr_value:""}]
    },
  });
}
